package com.bluej.study.spring_boot.util;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author xingdongjie
 * @date 2018/4/17 15:09
 */
@Component
@Data
public class PropertyUtil {

    @Value("${bluej.title}")
    private String title;

    @Value("${bluej.description}")
    private String description;
    @Value("${bluej.why}")
    private String why;

    @Value("${debug}")
    private boolean debug;
    @Value("${bluej.level}")
    private String level;
}
